const path = require("path");
const koa = require("koa");
const koaStatic = require("koa-static");
const app = new koa();

app.use(koaStatic(path.join(__dirname, "../public")));
app.listen(8080, () => {
    console.log("web服务器已在8080端口启动");
});